package com.techstar.api.pojo.public_transport;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.joda.time.DateTime;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.techstar.common.jackson.DateTimeDeserializer;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 
 * @author EinIce
 * @description 区域实时运力排名
 * @date 2021年8月6日
 */
@Getter
@Setter
@Entity
@ToString
@Table(name = "taxi_today_area_vehicle_rank")
@org.hibernate.annotations.Table(appliesTo = "taxi_today_area_vehicle_rank",comment="pbtp-4-区域实时运力排名")
public class TaxiTodayAreaVehicleRank {
	@Id
	@Column(columnDefinition="varchar(100) COMMENT '区域标识'")
	private String areaId;
	@Column(columnDefinition="varchar(100) COMMENT '区域名称'")
	private String areaName;
	@Column(columnDefinition="varchar(100) COMMENT '数据类型'")
	private String type;
	@Column(columnDefinition="varchar(100) COMMENT '区域在线车辆数'")
	private String onlineNum;
	@Column(columnDefinition="varchar(100) COMMENT '区域载客车辆数'")
	private String loadNum;
	@Column(columnDefinition="varchar(100) COMMENT '区域空驶车辆数'")
	private String vacantNum;
	@Column(columnDefinition="varchar(100) COMMENT '区域车辆重载率'")
	private String loadRatio;
	@Column(columnDefinition="varchar(100) COMMENT '区域车辆空驶率'")
	private String vacantRatio;
	@Column(columnDefinition="datetime(0) COMMENT '业务统计时间'")
	@JsonDeserialize(using = DateTimeDeserializer.class)
	private DateTime createTime;
}